From b35b2bc63e8e2ca92436fa601c68692242386246 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 1 Jul 2025 20:31:35 +0200 Subject: [PATCH] ubusd: treat EACCES on write like EAGAIN Apparently it can happen if the write buffer is full. Do not cut the connection in that case. Signed-off-by: Felix Fietkau --- ubusd_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ubusd_main.c b/ubusd_main.c index adbd293..46066f4 100644 --- a/ubusd_main.c +++ b/ubusd_main.c @@ -88,6 +88,7 @@ static void client_cb(struct uloop_fd *sock, unsigned int events) switch(errno) { case EINTR: case EAGAIN: + case EACCES: break; default: goto disconnect; -- 2.30.2